package com.bz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@TableName("[package_in_and_out_in]")
@Data
public class PackageInAndOutIn {

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long    id;

    /**
     * "1-入库 2-出库", //int 长度，非空
     */
    @TableField("opId")
    private Integer opId;

    /**
     * "起始位", //int,长度，非空
     */
    @TableField("start")
    private Integer start;

    /**
     * "结束位" //int,长度,必填
     */
    @TableField("[end]")
    private Integer end;
}
